package com.quanyan.stadium.service;

import com.quanyan.place.entity.apiresp.PlaceOrderVo;

/**
 * Created by xiao.xiao on 2016/7/21.
 *
 * 场馆授权添加\授权取消\授权查询相关
 */
public interface GamePlaceAuthService {

    /**
     * 自动化给场馆授权
     *
     * */
    void insertUserPlaceAuthMsg(PlaceOrderVo placeOrderVo);

    /**
     * 自动化关闭用户场馆权限
     *
     * */
    void deletetUserPlaceAuthMsg(PlaceOrderVo placeOrderVo);

    /**
     * 根据栏目id\用户id\场馆id\\时间来关闭该权限
     *
     * */
    void closeUserPlaceAuthMsg(Integer uid, Integer categoryId, Integer placeId, Long startTime, Long endTime);


    /**
     * 根据栏目id\用户id\场馆id\\时间来查询权限
     *
     * */
    void findUserPlaceAuthMsg(Integer uid, Integer categoryId, Integer placeId, Long startTime, Long endTime);
}
